﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <DrawingCollection x:Key="Rung1DrawingCollection">
        <DrawingGroup>
            <DrawingGroup.Transform>
                <TransformGroup>
                    <TranslateTransform X="41" Y="0"/>
                    <RotateTransform Angle="7.5"/>
                </TransformGroup>
            </DrawingGroup.Transform>
            <GeometryDrawing Brush="#000080">
                <GeometryDrawing.Geometry>
                    <EllipseGeometry RadiusX="2.5" RadiusY="2.5"/>
                </GeometryDrawing.Geometry>
            </GeometryDrawing>
        </DrawingGroup>
        <GeometryDrawing Brush="#000080">
            <GeometryDrawing.Geometry>
                <PathGeometry Figures="M 0,41 L 1.5,17  Q .5,14 0,0 q -.5,14 -1.5,17 z"/>
            </GeometryDrawing.Geometry>
        </GeometryDrawing>
    </DrawingCollection>

    <DrawingCollection x:Key="Rung2DrawingCollection">
        <DrawingGroup Children="{StaticResource Rung1DrawingCollection}"/>
        <DrawingGroup Children="{StaticResource Rung1DrawingCollection}">
            <DrawingGroup.Transform>
                <RotateTransform Angle="15"/>
            </DrawingGroup.Transform>
        </DrawingGroup>
    </DrawingCollection>

    <DrawingCollection x:Key="Rung4DrawingCollection">
        <DrawingGroup Children="{StaticResource Rung2DrawingCollection}"/>
        <DrawingGroup Children="{StaticResource Rung2DrawingCollection}">
            <DrawingGroup.Transform>
                <RotateTransform Angle="30"/>
            </DrawingGroup.Transform>
        </DrawingGroup>
    </DrawingCollection>

    <DrawingCollection x:Key="Rung8DrawingCollection">
        <DrawingGroup Children="{StaticResource Rung4DrawingCollection}"/>
        <DrawingGroup Children="{StaticResource Rung4DrawingCollection}">
            <DrawingGroup.Transform>
                <RotateTransform Angle="60"/>
            </DrawingGroup.Transform>
        </DrawingGroup>
    </DrawingCollection>

    <DrawingImage x:Key="FlagOfIndia">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="#FF9932">
                    <GeometryDrawing.Geometry>
                        <RectangleGeometry Rect="0, 0, 450, 100"/>
                    </GeometryDrawing.Geometry>
                </GeometryDrawing>
                <GeometryDrawing Brush="White">
                    <GeometryDrawing.Geometry>
                        <RectangleGeometry Rect="0, 100, 450, 100"/>
                    </GeometryDrawing.Geometry>
                </GeometryDrawing>
                <GeometryDrawing Brush="#128807">
                    <GeometryDrawing.Geometry>
                        <RectangleGeometry Rect="0, 200, 450, 100"/>
                    </GeometryDrawing.Geometry>
                </GeometryDrawing>

                <DrawingGroup>
                    <DrawingGroup.Transform>
                        <TranslateTransform X="225" Y="150"/>
                    </DrawingGroup.Transform>
                    <GeometryDrawing Brush="#000080">
                        <GeometryDrawing.Geometry>
                            <EllipseGeometry RadiusX="46.5" RadiusY="46.5"/>
                        </GeometryDrawing.Geometry>
                    </GeometryDrawing>
                    <GeometryDrawing Brush="White">
                        <GeometryDrawing.Geometry>
                            <EllipseGeometry RadiusX="41" RadiusY="41"/>
                        </GeometryDrawing.Geometry>
                    </GeometryDrawing>

                    <DrawingGroup Children="{StaticResource Rung8DrawingCollection}"/>
                    <DrawingGroup Children="{StaticResource Rung8DrawingCollection}">
                        <DrawingGroup.Transform>
                            <RotateTransform Angle="120"/>
                        </DrawingGroup.Transform>
                    </DrawingGroup>
                    <DrawingGroup Children="{StaticResource Rung8DrawingCollection}">
                        <DrawingGroup.Transform>
                            <RotateTransform Angle="-120"/>
                        </DrawingGroup.Transform>
                    </DrawingGroup>

                    <GeometryDrawing Brush="#000080">
                        <GeometryDrawing.Geometry>
                            <EllipseGeometry RadiusX="8" RadiusY="8"/>
                        </GeometryDrawing.Geometry>
                    </GeometryDrawing>
                </DrawingGroup>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
</ResourceDictionary>